using System;

namespace Camalon.Drawing.Samples.CSharp
{
	/// <summary>
	/// Summary description for BallShape.
	/// </summary>
	public class WaterDrop:Camalon.Drawing.ShapeContainer
    {
        private Shapes.Ellipse ellipse1;
        private SolidFill solidFill1;
        private ShapePen shapePen1;
        private PathGradientFill pathGradientFill1;
        private Shapes.Ellipse ellipse2;
        private LinearGradientFill linearGradientFill1;
	
		private void InitializeComponent()
		{
            this.ellipse1 = new Camalon.Drawing.Shapes.Ellipse();
            this.solidFill1 = new Camalon.Drawing.SolidFill();
            this.shapePen1 = new Camalon.Drawing.ShapePen();
            this.pathGradientFill1 = new Camalon.Drawing.PathGradientFill();
            this.ellipse2 = new Camalon.Drawing.Shapes.Ellipse();
            this.linearGradientFill1 = new Camalon.Drawing.LinearGradientFill();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // ellipse1
            // 
            this.ellipse1.Fill = this.solidFill1;
            this.ellipse1.Pen = this.shapePen1;
            this.ellipse1.Position = new System.Drawing.Point(208, 125);
            this.ellipse1.Size = new System.Drawing.Size(155, 113);
            // 
            // solidFill1
            // 
            this.solidFill1.Color = new Camalon.Drawing.TransparentColor(System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(75)))), ((int)(((byte)(94))))));
            // 
            // shapePen1
            // 
            this.shapePen1.Color = new Camalon.Drawing.TransparentColor(System.Drawing.Color.Gainsboro);
            // 
            // pathGradientFill1
            // 
            this.pathGradientFill1.CenterScale = new Camalon.Drawing.PointScale(0.25F, 0.65F);
            this.pathGradientFill1.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.Black),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.LightGray, 0.6F),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke, 1F)};
            // 
            // ellipse2
            // 
            this.ellipse2.Fill = this.linearGradientFill1;
            this.ellipse2.Position = new System.Drawing.Point(263, 129);
            this.ellipse2.Rotation = 155;
            this.ellipse2.Scale = new Camalon.Drawing.Scale(30, 11);
            this.ellipse2.Shear = new Camalon.Drawing.Shear(0, -11);
            this.ellipse2.Size = new System.Drawing.Size(119, 163);
            this.ellipse2.Warp = new Camalon.Drawing.Warp(new System.Drawing.Point(12, 92), new System.Drawing.Point(-66, 88), new System.Drawing.Point(57, 52), new System.Drawing.Point(-77, -25));
            // 
            // linearGradientFill1
            // 
            this.linearGradientFill1.GammaCorrection = true;
            this.linearGradientFill1.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.FromArgb(((int)(((byte)(135)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.Transparent, 0.8F),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))), 1F)};
            // 
            // BallShape
            // 
            this.Position = new System.Drawing.Point(150, 80);
            this.Shapes.AddRange(new Camalon.Drawing.Shape[] {
            this.ellipse1,
            this.ellipse2});
            this.Size = new System.Drawing.Size(286, 231);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

		}
	
		public WaterDrop()
		{
			//
			// TODO: Add constructor logic here
			//
			InitializeComponent();
		}
	}
}
